package com.lj.shop.system;

import java.util.ArrayList;
import java.util.List;
import lombok.Data;


@Data
public class Menu {
    private Integer menuId;
    private String url;
    private String name;

    private List<Menu> children = new ArrayList<>();    


    public static Menu build(){
        Menu m = new Menu();
        m.setMenuId(1);
        m.setName("about");
        m.setUrl("about");
        return m;
    }
}
